package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 续班流失
 * </p>
 *
 * @author min
 * @since 2022-11-08
 */
@TableName("renew_runaway")
public class RenewRunaway implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 班级id
     */
    private Long studentGradeId;

    /**
     * 校区id
     */
    private Long schoolId;

    /**
     * 科目id
     */
    private Long subjectsId;

    /**
     * 老师id
     */
    private Long teacherId;

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 季度id
     */
    private Integer quarterNum;

    /**
     * 距上次几个季度
     */
    private Integer diffNum;

    /**
     * 续班类型：2春续暑，3暑续秋，4秋续寒，1寒续春
     */
    private Integer type;

    /**
     * 年份
     */
    private Integer yearPart;

    /**
     * 备注
     */
    private Integer remark;

    private Long createdId;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStudentGradeId() {
        return studentGradeId;
    }

    public void setStudentGradeId(Long studentGradeId) {
        this.studentGradeId = studentGradeId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }

    public Integer getDiffNum() {
        return diffNum;
    }

    public void setDiffNum(Integer diffNum) {
        this.diffNum = diffNum;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }

    public Integer getRemark() {
        return remark;
    }

    public void setRemark(Integer remark) {
        this.remark = remark;
    }

    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "RenewRunaway{" +
        "id = " + id +
        ", studentGradeId = " + studentGradeId +
        ", schoolId = " + schoolId +
        ", subjectsId = " + subjectsId +
        ", teacherId = " + teacherId +
        ", courseId = " + courseId +
        ", studentId = " + studentId +
        ", quarterNum = " + quarterNum +
        ", diffNum = " + diffNum +
        ", type = " + type +
        ", yearPart = " + yearPart +
        ", remark = " + remark +
        ", createdId = " + createdId +
        ", createdAt = " + createdAt +
        ", updatedAt = " + updatedAt +
        ", deletedAt = " + deletedAt +
        "}";
    }
}
